.loading-bar{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1001;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);

  &.white{
    background: rgba(255, 255, 255, 0.5);
  }

  &.small{
    .loading-box{
      .container{
        img{
          width: 30px;
          height: 30px;
        }
        span{
            font-size: 14px;
            margin-top: 0;
            color: #333333;
        }
      }
    }
  }

  .loading-box{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    .container{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      text-align: center;
      img{
        display: block;
        width: 50px;
        height: 50px;
        margin: auto
      }
      span{
        display: block;
        margin-top: 10px;
        font-size: 17px;
        color: #ffffff;
      }
    }
  }
}

.loading-component {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  >.warp {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 26px;
    color: #FFF;
    >img{
      animation:flash 3s ease infinite;
      width: 4rem;
    }
  }
}
